Android for .NET Developers: 2 Building Apps With Android Studio
This course provides an introduction to building Android applications using Android Studio. The course focuses on those aspects of application development that are familiar to developers with desktops or web-based application experience. The course takes you through the components of a user interface along with how to manage their appearance and layout. Detailed coverage of multi-Activity applications and exchanging information between Activities is included. Special attention is paid to Android resource management and avoiding the common pitfalls experienced by developers who are new to the platform.
Activities and the Options Menu | 00:31:40 |
| Introduction | 00:38 |
| Course Prerequisites and Expectations | 01:43 |
| Anatomy of An Activity | 03:03 |
| Walkthrough: Anatomy of An Activity | 06:06 |
| Options Menu | 01:46 |
| Walkthrough: Options Menu Definition | 05:56 |
| Walkthrough: Options Menu Handling | 11:04 |
| Summary | 01:24 |
Add Activities | 00:32:39 |
| Introduction | 00:46 |
| Creating and Displaying Activities | 04:43 |
| Adding New Activities | 07:30 |
| Displaying Activities | 10:53 |
| Demo: Creating and Display Activities | 00:39 |
| Adding Menus to New Activities | 03:58 |
| Closing Activities | 01:25 |
| Demo: Closing Activities | 01:34 |
| Summary | 01:11 |
Views and Layouts | 00:41:21 |
| Introduction | 00:40 |
| The role of Views and Layouts | 03:54 |
| Using Layouts | 05:20 |
| Working with LinearLayout | 08:40 |
| Working with RelativeLayout | 05:20 |
| Demo: LinearLayout and RelativeLayout | 00:42 |
| Handling Event Callbacks with Interfaces | 08:20 |
| Mimicking Delegates to Handle Event Callbacks | 03:59 |
| Handling Event Callbacks More Easily | 02:55 |
| Summary | 01:31 |
Activity Lifecycle | 00:39:09 |
| Introduction | 00:54 |
| Mobile Resource Challenge | 01:14 |
| Traditional Resource Management | 01:22 |
| Moving Beyond Processes and Threads | 01:22 |
| Android Resource Management | 05:12 |
| Activity States | 01:50 |
| Activity State Callback Methods | 05:22 |
| Demo: Activity State Callback Methods | 04:46 |
| Device Orientation and State | 02:02 |
| Demo: Manage State of Activity Views | 07:23 |
| Demo: Manage State of Activity Fields | 04:51 |
| Demo: Views with Self-Managing State | 00:54 |
| Summary | 01:57 |
Accessing Activity Results | 00:40:07 |
| Introduction | 01:07 |
| Working with Activity Results | 01:46 |
| Handling Activity Results | 02:23 |
| Starting Custom Activity for Results | 03:47 |
| Custom Activity Return Results | 06:59 |
| Handling Returned Activity Results | 06:40 |
| Walkthrough: Handling Activity Results | 02:01 |
| Starting Camera from Your App | 04:12 |
| Handling Camera Results | 05:36 |
| Walkthrough: Starting Camera and Handling Results | 01:59 |
| Configuring the Emulator for Camera Support | 01:59 |
| Summary | 01:38 |
Activities and the Options Menu
Views and Layouts
Activity Lifecycle
Accessing Activity Results